#!/bin/sh
file1="file-1"
file2="file-2"
prompt="Hello, what is your name ? "
echo $prompt >> $file1
echo $prompt >> $file2

if grep 'what' $file1 | grep name > /dev/null 2>&1 
then
	echo "Found words 'what' and 'name'"
else
	echo "NOT Found"
fi

if diff $file1 $file2 
then
	echo "same"
else
	echo "different"
fi
